package com.tudouji.project.store.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.tudouji.framework.aspectj.lang.annotation.Excel;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 库房管理对象 storeroom
 *
 * @author tudouji
 * @date 2021-01-04
 */
@Data
public class Storeroom
{
    private static final long serialVersionUID = 1L;

    private Long id;
    /** 主键 */
    private String guid;

    /** 库房编号 */
    @Excel(name = "库房编号")
    private String code;

    /** 库房名称 */
    @Excel(name = "库房名称")
    private String name;

    /** 库房管理人员 */
    private String managerid;

    /** 库存容量(吨) */
    private BigDecimal capacity;

    /** 库房性质 */
    private String nature;

    /** 详细地址 */
    @Excel(name = "详细地址")
    private String address;

    /** 省份 */
    @Excel(name = "省份")
    private String province;

    /** 城市 */
    @Excel(name = "城市")
    private String city;

    /** 区县 */
    @Excel(name = "区县")
    private String area;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdate;

    /** 操作人 */
    @Excel(name = "操作人")
    private String operatorid;

    /** 最后更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "最后更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date lastupdate;

    /** 经度 */
    private String longitude;

    /** 纬度 */
    private String latitude;

    /** 联系人 */
    @Excel(name = "联系人")
    private String contact;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String contacttel;

    /** 公司ID */
    private String orgguid;

    private Long orgId;

    private Long deptId;

    private Integer innerOut;

    /** 标准编号 */
    private String standardcode;

    /** 状态 */
    @Excel(name = "状态")
    private Integer enable;

    /** 类型 */
    @Excel(name = "类型")
    private Integer type;

    /** 种植户id */
    private String farmerid;

    /** 种植户关联 地块id */
    private String arealandid;

    /** 分组编码 */
    @Excel(name = "分组编码")
    private String businesscode;

    /** 是否发货标识: 1-发货  2-不发货 */
    @Excel(name = "是否发货标识: 1-发货  2-不发货")
    private Integer send;

    private String remark;

    /** 金蝶编号 */
    @Excel(name = "金蝶编号")
    private String kingdeenum;

    /** 品类id */
    private String categoryids;

    private boolean whinfoData;

    private Integer flag;

    private String functionType;

    private String[] guids;

    private Integer[] stats;

    private String orgname;
    private String managername;
    private String[] orgguids;

    private String[] roomids;
    //查询条件
    private Integer permissionId;
    //查询条件
    private Long createBy;
}
